﻿/*
 * Author: Mattan360
 * Contributors:
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Irrlicht.Net.Core
{
    public struct Rectangle<T>
    {
        internal T x;
        internal T y;
        internal T width;
        internal T height;

        public T X { get { return x; } set { x = value; } }
        public T Y { get { return y; } set { y = value; } }
        public T Width { get { return width; } set { width = value; } }
        public T Height { get { return height; } set { height = value; } }

        public Rectangle(T x, T y, T width, T height)
        {
            this.x = x;
            this.y = y;
            this.width = width;
            this.height = height;
        }
    }
}
